import request from '@/utils/request'

// 查询绩效等级设置列表
export function listPsalarySetup(query) {
  return request({
    url: '/wms/PsalarySetup/list',
    method: 'get',
    params: query
  })
}

// 查询绩效等级设置详细
export function getPsalarySetup(id) {
  return request({
    url: '/wms/PsalarySetup/' + id,
    method: 'get'
  })
}

// 新增绩效等级设置
export function addPsalarySetup(data) {
  return request({
    url: '/wms/PsalarySetup',
    method: 'post',
    data: data
  })
}

// 修改绩效等级设置
export function updatePsalarySetup(data) {
  return request({
    url: '/wms/PsalarySetup',
    method: 'put',
    data: data
  })
}

// 删除绩效等级设置
export function delPsalarySetup(id) {
  return request({
    url: '/wms/PsalarySetup/' + id,
    method: 'delete'
  })
}
